Skip to content

Apply updated templates and fix Zenodo DOI#116

Merged
AndrewSazonov merged 2 commits intodevelopfrom
fix-zenodo-doi
Mar 9, 2026
Merged

Apply updated templates and fix Zenodo DOI#116
AndrewSazonov merged 2 commits intodevelopfrom
fix-zenodo-doi

Conversation

@AndrewSazonov
Copy link
Member

This PR applies the latest Copier templates and includes minor fixes in scripts and formatting. It also corrects the Zenodo DOI in the documentation.

@AndrewSazonov AndrewSazonov added the [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH) label Mar 6, 2026
@codecov
Copy link

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@9e7058d). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #116   +/-   ##
==========================================
  Coverage           ?   97.68%           
==========================================
  Files              ?       36           
  Lines              ?     2328           
  Branches           ?      388           
==========================================
  Hits               ?     2274           
  Misses             ?       33           
  Partials           ?       21           
Flag Coverage Δ
integration 0.00% <ø> (?)
unittests 97.68% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@henrikjacobsenfys henrikjacobsenfys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Seems like the zenodo link doesn't work yet, but it does seem to point to the right place when I search on zenodo

@AndrewSazonov
Copy link
Member Author

Seems like the zenodo link doesn't work yet

🤔 Where? In the developer version of the documentation generated by this PR
https://easyscience.github.io/dynamics-lib/dev/introduction/#citation
the link points to https://doi.org/10.5281/zenodo.18877180, which opens the Zenodo page for EasyDynamics correctly

Copy link
Member

@rozyczko rozyczko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copier-copy and related commands fail in standard installation

Comment on lines +185 to +187
copier-copy = "copier copy gh:easyscience/templates . --data-file ../dynamics/.copier-answers.yml --data template_type=lib"
copier-recopy = "copier recopy --data-file ../dynamics/.copier-answers.yml --data template_type=lib"
copier-update = "copier update --data-file ../dynamics/.copier-answers.yml --data template_type=lib"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean we also need to pull https://github.com/easyscience/dynamics?
How are we assuring this?

After installing dynamics-lib and running pixi run copier-copy I get

(sdk) C:\Users\piotr\projects\easy\dynamics-lib>pixi run copier-copy
✨ Pixi task (copier-copy in default): copier copy gh:easyscience/templates . --data-file ../dynamics/.copier-answers.yml --data template_type=lib                                                                Error: Argument of data-file expected to be ExistingFile, not '../dynamics/.copier-answers.yml':
    ValueError('../dynamics/.copier-answers.yml is not a file')

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we need to pull both dynamics and dynamics-lib. I described this process in the README in easyscience/templates.

Unfortunately, Copier cannot read the answers file from the web - it only supports local files 🙁. I tried to find a simple cross-platform workaround, but could not find a good solution.

I even wrote a script that downloads the answers file to a temporary location and then runs Copier using that file. But this introduced extra complexity and, in the end, was less maintainable than just having a few lines in the guide explaining the process.

Of course, I’m open to better alternatives if you have any suggestions.

@henrikjacobsenfys
Copy link
Member

The website gave an error, but should be good now

@AndrewSazonov AndrewSazonov merged commit 7d5c7a3 into develop Mar 9, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants