-
Notifications
You must be signed in to change notification settings - Fork 77
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
Do not redo link to pro directory if already correct #896
Conversation
Codecov Report
@@ Coverage Diff @@
## master #896 +/- ##
==========================================
+ Coverage 83.83% 84.29% +0.46%
==========================================
Files 77 84 +7
Lines 5968 6704 +736
==========================================
+ Hits 5003 5651 +648
- Misses 965 1053 +88
Continue to review full report at Codecov.
|
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.
Could you maybe put that code into a function
def create_pro_link(output_dir):
It is duplicated 4 times and you now had to make a change at 4 locations in exactly the same way.
Hi @maxnoe, where do you want to put this function? |
@FrancaCassol maybe create a new module I wanted to also refactor the rest of the duplicated code in the onsite scripts, e.g. by introducing functions like:
|
I see, do we want to do it now or we better keep it for later? |
We can also do it in one go later... |
wait, I was modifying it after talking to @FrancaCassol |
If there are other changes I think it is better to do all later. |
I created instead a |
I liked better the onsite.py idea that is more general. |
No description provided.