Skip to content
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

Fix dumpinvestigation.py example script #164

Merged
merged 4 commits into from
Oct 11, 2024
Merged

Fix dumpinvestigation.py example script #164

merged 4 commits into from
Oct 11, 2024

Conversation

RKrahl
Copy link
Member

@RKrahl RKrahl commented Oct 11, 2024

The dumpinvestigation.py example script was broken: it included the same objects multiple times in the output in some case. Thoroughly review it. Also fix a typo in a doc string the ingest.py example script.

- Move creation of search expressions to select the ICAT objects to be
  written into helper functions,
- Get rid of legacy search expressions, use Query objects instead,
- Use DISTINCT aggregator where appropriate to avoid including objects
  mutliple tines,
- Various ckean up.
@RKrahl RKrahl added the documentation Improvements or additions to documentation label Oct 11, 2024
@RKrahl RKrahl added this to the 1.5.0 milestone Oct 11, 2024
@RKrahl RKrahl merged commit a529364 into develop Oct 11, 2024
1 check passed
@RKrahl RKrahl deleted the examples branch October 11, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant