-
Notifications
You must be signed in to change notification settings - Fork 12
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
niiri prefixes > urn / id are now uuids / project info removed #83
Merged
Merged
Changes from all commits
Commits
Show all changes
105 commits
Select commit
Hold shift + click to select a range
b6368f6
commit to fork try
hermann74 dd83475
change id (20 alpha+digit) and label of activity (full name)
hermann74 b5cc476
update ref in samples_test
hermann74 b0664e7
restore argparse
hermann74 3a9a93c
add push for results/ in github action
cyril-data c94f199
automated nidm example computation from github action
68e7ed2
enable git to trace png files
cyril-data cc18d2e
automated nidm example computation from github action
8b5f0cd
random seed =14 only for testing
cyril-data 888234b
automated nidm example computation from github action
89235ae
change comparison of jsonld graph from equality to inclusion + test_…
hermann74 2f44200
automated nidm example computation from github action
66eb4ad
update to_test_checksum.txt
hermann74 55a9b54
update to_test_checksum.txt
hermann74 6ba857c
automated nidm example computation from github action
5746342
modify test with cheksum for test_get_input_entity
cyril-data 41b63c2
merge
cyril-data d4c4d83
automated nidm example computation from github action
c0dad32
automated nidm example computation from github action
441b275
fix order in graph inclusion is_included(subgraph_ref, actual_graph)
hermann74 290c79c
try commit again
hermann74 895a597
automated nidm example computation from github action
d22cc15
typing return, example List[dict]
hermann74 c1c7eb8
Merge remote-tracking branch 'origin/spm_exporter' into spm_exporter
hermann74 1404734
typing return, example List[dict]
hermann74 e09b3c3
automated nidm example computation from github action
d55c701
add unit_test anf integrration_test github action for push
cyril-data 63ddccd
automated nidm example computation from github action
d182c6f
rerun unit test
hermann74 a812d15
print in github action unittest
cyril-data d5b3cbb
rerun unit test
hermann74 7b3c721
Merge branch 'spm_exporter' of https://github.com/Inria-Empenn/BEP028…
cyril-data 7a6b2ae
automated nidm example computation from github action
b0a1ffb
Merge branch 'spm_exporter' of https://github.com/Inria-Empenn/BEP028…
cyril-data c4770c8
automated nidm example computation from github action
6d88a76
change print to test_spm_parser
hermann74 716390b
Merge remote-tracking branch 'origin/spm_exporter' into spm_exporter
hermann74 86b747a
automated nidm example computation from github action
cf56cec
change name for test
hermann74 25c1d17
automated nidm example computation from github action
4e3e6a7
FSL parser v0
remiadon 0d7e508
FSL parser valid prov
remiadon a780876
FSL parser one activity per line
remiadon f4fe337
FSL parser create ony activity per chapter and link sub activities
remiadon 24ea06a
fsl parser config v0
remiadon 55f5bd9
[ADD] comments on CI scripts
remiadon 6aeb3f6
fsl [FIX] config loading
remiadon 9dc7e41
fsl parser init bosh conf
remiadon d9c2d7b
[ADD] comments and type annotations
remiadon fab6005
[FIX] unittest
remiadon 3844160
fsl in argparse
cyril-data 498c6ff
add boutiques in dev-requirements.txt
cyril-data 568b57c
add pull request and branches spm_fsl_exporter for github action
cyril-data 8bcd3cf
add pull request and branches spm_fsl_exporter for github action
cyril-data ee184d3
automated nidm example computation from github action
9b7a2ac
Issues #9, #8, #7, #6
thomasbtnfr d099510
automated nidm example computation from github action
9a8ca3d
Issues #9, #8, #7, #6
thomasbtnfr 04ea4f4
Merge remote-tracking branch 'origin/spm_fsl_exporter' into spm_fsl_e…
thomasbtnfr 8f5bc4d
automated nidm example computation from github action
940f260
Issues #9, #8, #7, #6
thomasbtnfr c5fe0ed
Merge remote-tracking branch 'origin/spm_fsl_exporter' into spm_fsl_e…
thomasbtnfr 6ec8fcd
automated nidm example computation from github action
eec6c82
Only uuid for @id
thomasbtnfr 4d5fa4a
automated nidm example computation from github action
03ccd79
Only uuid for @id
thomasbtnfr 6d043fd
automated nidm example computation from github action
e1e52fb
Before an @id uuid, always add "urn:"
thomasbtnfr 5abb9c6
Merge remote-tracking branch 'origin/spm_fsl_exporter' into spm_fsl_e…
thomasbtnfr b4d7341
automated nidm example computation from github action
2965a02
Add comments on fsl + create utils files
thomasbtnfr a992e5d
automated nidm example computation from github action
ed85725
AssociatedWith RRID Agent
thomasbtnfr c9ac092
automated nidm example computation from github action
c4170f2
Fix generation visual wasAssociatedWith
thomasbtnfr 1a1b962
automated nidm example computation from github action
f709a47
Fix test uuid
thomasbtnfr f573363
Merge remote-tracking branch 'origin/spm_fsl_exporter' into spm_fsl_e…
thomasbtnfr e1f8115
automated nidm example computation from github action
ec1170e
Merge remote-tracking branch 'origin/spm_fsl_exporter' into issues_6_…
thomasbtnfr 3abeb5b
Fix issues #6, #7, #8, #9
thomasbtnfr 426c678
automated nidm example computation from github action
665325a
Without FSL integration
thomasbtnfr dcecc7e
Merge remote-tracking branch 'origin/issues_6_7_8_9' into issues_6_7_8_9
thomasbtnfr e57affc
automated nidm example computation from github action
b4e6a88
Remove flake + reset integration_test.yml
thomasbtnfr baceafa
Merge remote-tracking branch 'origin/issues_6_7_8_9' into issues_6_7_8_9
thomasbtnfr dd6cf1d
automated nidm example computation from github action
b9b120a
Fix output_id with uuid
thomasbtnfr e61936e
automated nidm example computation from github action
70828f5
Solve conflicts after merge PR "mapping"
thomasbtnfr f6f2eca
Merge remote-tracking branch 'origin/issues_6_7_8_9' into issues_6_7_8_9
thomasbtnfr e91b980
automated nidm example computation from github action
523c64b
Merge
thomasbtnfr 600c077
automated nidm example computation from github action
b785c5f
Remove l_max from format_activity_name
thomasbtnfr ea6a923
automated nidm example computation from github action
4aac9e1
Graph with AssociatedWith and GeneratedBy
thomasbtnfr 7c4151a
automated nidm example computation from github action
739b1b6
Change CONTEXT_URL to fork
thomasbtnfr e50bf05
Merge remote-tracking branch 'origin/issues_6_7_8_9' into issues_6_7_8_9
thomasbtnfr ea64e89
automated nidm example computation from github action
2a08e38
Back to current context.json
thomasbtnfr 98d50e3
Merge remote-tracking branch 'origin/issues_6_7_8_9' into issues_6_7_8_9
thomasbtnfr f3f8c19
automated nidm example computation from github action
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: Parsers | ||
on: | ||
on: | ||
push: | ||
branches: [spm_exporter, gitactions_on_nidm] | ||
pull_request: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ settings.json | |
**/*.tsv | ||
*.json | ||
**/*.pyc | ||
|
||
*.DS_Store | ||
*.ipynb_checkpoints | ||
*venv* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1 @@ | ||
import string | ||
import random | ||
## TODO uuid from special library (20 alpha num) | ||
|
||
random.seed(14) # Control random generation for test, init at each import | ||
INIT_STATE = random.getstate() | ||
|
||
|
||
def init_random_state(): # force init to initial state | ||
random.setstate(INIT_STATE) | ||
|
||
# generates a string containing 10 letters (upper or lower case, 52 possible characters) | ||
def get_id(): | ||
return "".join(random.choice(string.ascii_letters) for i in range(10)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@thomasbtnfr: Have you tried here to use directly a UUID (without the conversion to string)? I would like to check how the namespace is handled by the uuid library (rather than having to add manually the
urn
namespace before).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.
(If we add the urn namespace manually then we will have to declare it somewhere, in the context and in the RDF python library)
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.
Related to this issue : Inria-Empenn#13
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.
urn does not need to be defined in the context, it's handled appropriately as an uri by most libraries i believe.
https://api.dandiarchive.org/api/dandisets/000350/versions/0.221219.1506/assets/6b78d427-92e0-4a8e-bc64-481cbddea1e2/ (look at the publisher section). also we don't define it anywhere in our context: https://github.com/dandi/schema/blob/master/releases/0.6.3/context.json
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.
Thanks @satra! We opened Inria-Empenn#13 to work on this in a coming PR. I'll link your comment in there!