Eachan Johnson commited on
Commit
5e545d6
·
1 Parent(s): ef937ae

Update examples

Browse files
app.py CHANGED
@@ -677,6 +677,7 @@ if __name__ == "__main__":
677
  example_labels=[
678
  eg["label"] for eg in EXAMPLES["line input examples"]
679
  ],
 
680
  inputs=[
681
  line_inputs["strings"],
682
  line_inputs["format"],
 
677
  example_labels=[
678
  eg["label"] for eg in EXAMPLES["line input examples"]
679
  ],
680
+ examples_per_page=100,
681
  inputs=[
682
  line_inputs["strings"],
683
  line_inputs["format"],
example-data/liu23-abau-1000.csv CHANGED
The diff for this file is too large to render. See raw diff
 
example-data/stokes20-eco-1000.csv CHANGED
The diff for this file is too large to render. See raw diff
 
example-data/wong24-sau-tox-1000.csv CHANGED
The diff for this file is too large to render. See raw diff
 
scripts/prep-examples.sh CHANGED
@@ -5,7 +5,7 @@ OUTPUT="$2"
5
  FIELDS="$3"
6
  NLINES="${4:-1000}"
7
 
8
- python -m venv .schemist && .schemist/bin/pip install "pandas schemist>=0.0.4" && .schemist/bin/activate
9
 
10
  # Some functions for convenience
11
  logger () (
@@ -28,6 +28,4 @@ set -x
28
 
29
  pandas '[['"$FIELDS"']].sample('"$NLINES"')' \
30
  < "$INPUT" \
31
- | schemist convert -c SMILES -2 id smiles inchikey pubchem_id mwt clogp tpsa -f CSV \
32
- | pandas '.sort_values(["id"])' \
33
  > "$OUTPUT"
 
5
  FIELDS="$3"
6
  NLINES="${4:-1000}"
7
 
8
+ python -m venv .schemist && .schemist/bin/pip install "pandas" "schemist>=0.0.4" && .schemist/bin/activate
9
 
10
  # Some functions for convenience
11
  logger () (
 
28
 
29
  pandas '[['"$FIELDS"']].sample('"$NLINES"')' \
30
  < "$INPUT" \
 
 
31
  > "$OUTPUT"