-
Notifications
You must be signed in to change notification settings - Fork 0
Aide app #8
base: main
Are you sure you want to change the base?
Aide app #8
Conversation
Coverage Report
|
CONFIG_DIR = os.path.dirname(os.path.realpath(__file__)) # same dir as this file | ||
VERSION = manifest['model_version'] | ||
|
||
if os.path.exists(APP_DATA_DIR): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens here in context of AIDE?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks for the APP_DATA_DIR inside the container the application runs in. The image does not have this folder so it will always create a new one.
SETTINGS = configparser.ConfigParser() | ||
|
||
# This makes a list of config files for both server and local files | ||
config_files = list(os.path.join(CONFIG_DIR, x) for x in os.listdir(CONFIG_DIR) if x.endswith('cfg')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are config files read in AIDE?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to above, the dicomserver config lives entirely within the container where the app runs. There is no configuration that extends beyond the container, other than the few bits in the manifest file.
Refactors MRS code to be compatible with aide deployment using the aide-sdk.
Changes github actions workflows to use environment defined by Dockerfile instead of python venv
Documentation moved to
/documents/