Conversation
hannahlanzrath
left a comment
There was a problem hiding this comment.
I have left some comments, thanks for the nice overhaul so far!
109c0e3 to
37fd84f
Compare
fecaac4 to
7210c1d
Compare
7b6295f to
a873bac
Compare
badabc2 to
a2b2d17
Compare
a2b2d17 to
5b58290
Compare
hannahlanzrath
left a comment
There was a problem hiding this comment.
Hi Katha,
Thanks so much for the great work you put into this!
With my last commit, I did some major structural changes, to harmonize the different sections a little more and make it more readable for the user. I also looked up some conventions for documenting CLI and Python and applied those. Lastly, I removed the hints about html files getting exported via the Jupyter Interface, as I have not seen that happen so far. Do you have any more info on this?
Please have a look at these changes. If you approve, I will refactor and merge.
Hi Hannah, from cadetrdm.repositories import JupyterInterfaceRepo
repo = JupyterInterfaceRepo()repo.commit_nb_output(
"path-to-the-current-notebook.ipynb",
results_commit_message="Results commit message"
)These lines internally call a As for your other changes, I like the adapted structure for better readability. Thanks for the adjustments! |
88bd6be to
1289b39
Compare
Co-authored-by: Hannah Lanzrath <h.lanzrath@fz-juelich.de> Fix typos and directy speech Add sphinx_subfigure to configuration Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
1289b39 to
1033ab1
Compare
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
48b6790 to
0108553
Compare
|
Hi Katha, can you move these two points into a new issue, so we don't forget about them when I merge the PR?
|
This PR makes changes to CADET-RDM to address part of the To-Dos from Issue #80 and #76, improve readability and inconsistent nomenclature.
General changes
path_to_repoChanges needed to address failing tests
try_initialize_from_remote()(Line 157)"output_folder_name". This line in the .json file would have to be renamed to"output_directory_name"to fix the failing testDocumentation checked and modified
Documentation changes
getting-started.md
rdm checkandrdm pushCommand Line Interface
Inside the output directory, new empty directories with the names of the imported project and output repositories are created. This takes place in a new branch. No other files are modified, including cadet-rdm-cache.json.
Currently only useful to copy specific files, e.g. .py-files within a new branch to the output repository (by specifying url=source_project/output/specific_file.py) while also creating empty directories with the names of project and output repository from the source repository.