Skip to content

Commit

Permalink
Merge pull request #476 from xchem/m2ms-1121-achristie
Browse files Browse the repository at this point in the history
Auto-name RHS compounds upon upload
  • Loading branch information
alanbchristie authored Dec 19, 2023
2 parents ba27fa4 + 1015028 commit 108398c
Show file tree
Hide file tree
Showing 16 changed files with 406 additions and 332 deletions.
4 changes: 2 additions & 2 deletions django_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ server {
alias /code/media/maps/;
internal;
}
location /compound_sets/ {
alias /code/media/compound_sets/;
location /computed_set_data/ {
alias /code/media/computed_set_data/;
internal;
}
location /metadata/ {
Expand Down
2 changes: 1 addition & 1 deletion docs/source/dev_setup/stack_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ In the :code:`fragalysis/` directory run script to create data directory structu
mkdir -p data/neo4j/logs
mkdir -p data/stack/media
mkdir -p data/stack/logs
mkdir -p data/media/compound_sets
mkdir -p data/media/computed_set_data
mkdir -p data/postgre/data
**4. Build images locally**
Expand Down
5 changes: 1 addition & 4 deletions fragalysis/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,6 @@
# dedicated Discourse server.
DISCOURSE_DEV_POST_SUFFIX = os.environ.get("DISCOURSE_DEV_POST_SUFFIX", '')

# Where all the computed set SDF files are hosted (relative to the MEDIA_ROOT).
# Used primarily by the Computed-Set upload logic.
COMPUTED_SET_SDF_ROOT = "computed_set_sdfs/"

# An optional URL that identifies the URL to a prior stack.
# If set, it's typically something like "https://fragalysis.diamond.ac.uk".
# It can be blank, indicating there is no legacy service.
Expand All @@ -394,6 +390,7 @@
"Must begin 'lb' followed by 5 digits, optionally followed by a hyphen and a number.",
)

COMPUTED_SET_MEDIA_DIRECTORY = "computed_set_data"
TARGET_LOADER_MEDIA_DIRECTORY = "target_loader_data"

# A list of identifiers of messages generated by the system check framework
Expand Down
94 changes: 61 additions & 33 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ gunicorn = "^21.2.0"
im-squonk2-client = "^1.22.2"
mozilla_django_oidc = "^3.0.0"
mysql-connector-python = "^8.1.0"
openpyxl = "^3.1.2"
pandas = "^1.5.3"
pandoc = "^2.3"
psutil = "^5.9.5"
Expand Down
Loading

0 comments on commit 108398c

Please sign in to comment.