Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cds_migrator_kit/rdm/records/transform/models/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
# "540__9", # Also material of the license
# "542__3", # Also material of the license
"700__m", # email of contributor
# "773__t", # from SIS: can be ignored
# "773__0", # from SIS: can be ignored
"773__t", # from SIS: can be ignored
"773__0", # from SIS: can be ignored
# "773__o", # from SIS: can be ignored
# "773__x", # INSPIRE publication note
"8564_8", # file id
Expand Down
7 changes: 5 additions & 2 deletions cds_migrator_kit/rdm/records/transform/models/north_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
class NorthAreaModel(CdsOverdo):
"""Translation model for North Area experiments."""

__query__ = """693__.e:"NA61" OR 693__.e:"SHINE NA61" OR 693__.e:"NA62" OR 693__.e:"NA63" OR 693__.e:"NA64" OR 693__.e:"DsTau NA65" OR 693__.e:"AMBER NA66"
-980__:THESIS -980__:DELETED -980__:HIDDEN -980__:DUMMY"""
__query__ = """
693__.e:"COMPASS" OR 693__.e:"COMPASS NA58" OR 693__.e:"NA61" OR 693__.e:"SHINE NA61" OR
693__.e:"NA62" OR 693__.e:"NA63" OR 693__.e:"NA64" OR 693__.e:"DsTau NA65" OR 693__.e:"AMBER NA66"
-980__:THESIS -980__:DELETED -980__:HIDDEN -980__:DUMMY
"""

__ignore_keys__ = IGNORE_SYSTEM_KEYS | {
"270__m", # Email of contact person
Expand Down
11 changes: 11 additions & 0 deletions cds_migrator_kit/rdm/streams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,17 @@ records:
missing_users: cds_migrator_kit/rdm/data/users
communities_ids:
- "88a105fe-4713-493b-b555-6ab398599d21"
na58:
data_dir: cds_migrator_kit/rdm/data/north_area/na58
plots: true
create_inclusion_request: true
extract:
dirpath: cds_migrator_kit/rdm/data/north_area/na58/dump/
transform:
files_dump_dir: cds_migrator_kit/rdm/data/north_area/na58/files/
missing_users: cds_migrator_kit/rdm/data/users
communities_ids:
- ""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: shall we add the locally created communities to fixtures, instead of leaving this empty?

na61:
data_dir: cds_migrator_kit/rdm/data/north_area/na61
plots: true
Expand Down
Loading