Skip to content

Commit db4ad46

Browse files
PhillipDowneyPhil Downey
andauthored
Oct24 (#65)
* merge and update for new llm * updated sky yaml for ollama * updates and bug fixes for release * updates and bug fixes for release * updates and bug fixes for release * updates and bug fixes for release * updates and bug fixes for release --------- Co-authored-by: Phil Downey <phildowney@pd-work-mac.local>
1 parent ab73100 commit db4ad46

234 files changed

Lines changed: 12569 additions & 11863 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ The OpenAD client is accessible from a command line interface, Jupyter Notebook
5252
<div markdown="block">
5353

5454
- `%Openadd` has been added to the magic commands for commands that return data.
55+
- New Macro Molecule viewer for visualising proteins
5556
- Upgraded SkyPilot to 0.6.0
5657
- Support for deploying in OpenShift AI/Open Data hub workbench or Podman/Docker image. [See the workbench repo](https://github.com/acceleratedscience/openad_workbench).
5758
- Support for application API

docs/output/markdown/commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ Optional Parameters that can be specified in the `using` clause: <br>
830830
- `availability_pricing_threshold=<int>` Maximum price in USD per g/ml of compounds. Default: no threshold. <br>
831831
- `available_smiles='<smiles>.<smiles>.<smiles>'` List of molecules available as precursors, delimited with a period. <br>
832832
- `exclude_smiles='<smiles>.<smiles>.<smiles>'` List of molecules to exlude from the set of precursors, delimited with a period. <br>
833-
- `exclude_substructures='<smiles>.<smiles>.<smiles>'` List of substructures to excludefrom the set of precursors, delimited with a period. <br>
833+
- `exclude_substructures='<smiles>.<smiles>.<smiles>'` List of substructures to exclude from the set of precursors, delimited with a period. <br>
834834
- `exclude_target_molecule=<boolean>` Excluded target molecule. The default is True <br>
835835
- `fap=<float>` Every retrosynthetic step is evaluated with the FAP, and is only retained when forward confidence is greater than the FAP value. The default is 0.6. <br>
836836
- `max_steps=<int>` The maximum number steps in the results. The default is 3. <br>

openad/app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ def default(self, line):
643643
# Brutal situation where someone hit clear sessions in another session
644644
# , shut down abruptly so as not to kill registry file.
645645
output_error(
646-
"Fatal error: the session registry is not avaiable, performing emergency shutdown" + str(e),
646+
"Fatal error: the session registry is not available, performing emergency shutdown" + str(e),
647647
return_val=False,
648648
)
649649
self.do_exit("exit emergency")

openad/app/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"banner": "OPENAD",
33
"title": "Welcome to the Open Accelerated Discovery CLI",
4-
"version": "0.4.4",
4+
"version": "0.5.1",
55
"commands": {
66
"intro": "If this is your first time, let us help you getting started.",
77
"? toolkits": "Learn about the toolkits.",

openad/core/grammar.py

Lines changed: 208 additions & 23 deletions
Large diffs are not rendered by default.

openad/core/help.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,21 @@ def _append_matches(match_list, inp, output, match_word=False):
157157
# Underline matching string
158158
if match_word:
159159
# Exact word match --> underline both single and plural instances.
160-
command_str = re.sub(rf"(?<!<){inp}(s?)(?![^<>]*?>)", rf"<underline>{inp}\1</underline>", command_str)
160+
command_str = re.sub(
161+
rf"(?<!<){re.escape(inp)}(s?)(?![^<>]*?>)", rf"<underline>{re.escape(inp)}\1</underline>", command_str
162+
)
161163
else:
162164
# String match --> only underline the matching string.
163-
command_str = re.sub(rf"(?<!<){inp}(?![^<>]*?>)", rf"<underline>{inp}</underline>", command_str)
165+
166+
command_str = re.sub(
167+
rf"(?<!<){re.escape(inp)}(?![^<>]*?>)", rf"<underline>{re.escape(inp)}</underline>", command_str
168+
)
169+
# Work around for escape character compensation in re
170+
command_str = command_str.replace("\ ", " ")
171+
command_str = command_str.replace("\[", "[")
172+
command_str = command_str.replace("\]", "]")
173+
command_str = command_str.replace("\<", "<")
174+
command_str = command_str.replace("\>", ">")
164175

165176
output.append(f"- <cmd>{command_str}</cmd>")
166177
return output

openad/gui-build-proxy/assets/16-Gy2UeNuS.js renamed to openad/gui-build-proxy/assets/16-DgTnHlVr.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)