-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Streamlit to Dash #50
base: main
Are you sure you want to change the base?
Conversation
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.
Looks great!
- When saving a problem (Save Input Data to File), it wasn't clear that it was saved in the input folder. A clarification or note in the readme might be good.
- Perhaps automatically add a
.txt
file ending to the stored inputs and solutions if not included in the filename? - I think it would feel more robust if the problem generation is disabled (i.e., the sliders are greyed out) while running. Otherwise it's easy to change the problem while getting a solution for the old, lost one. Same for disabling the results tab when generating a new problem.
- Is it possible to have the upload-problem-file browser open at the input folder directly?
demo_configs.py
Outdated
"value": 50, | ||
} | ||
|
||
ADVANCED_SETTINGS = ["Color by Case ID"] |
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 can this be changed to? Maybe add a comment?
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.
Updated: d2c039e
Co-authored-by: Theodor Isacsson <[email protected]>
I don't think this is possible |
if len(input_filename.split(".")) < 2: | ||
input_filename = input_filename + ".txt" |
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.
Should be OK to have filenames with dots in, no? This would cause an issue if there's a dot in the name.
I quite like using pathlib
, which can be used quite nicely here: https://docs.python.org/3/library/pathlib.html#pathlib.PurePath.with_suffix, and also for joining and reading/writing files.
Note: It is expected for
test-osx
to fail because this demo usesmip