Skip to content

Commit

Permalink
Fix hardcoded field names in copyfields command
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinschaper committed Oct 27, 2023
1 parent 1086338 commit 04e2fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/add_association_copyfields.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ curl -X POST -H 'Content-type:application/json' --data-binary '{

# now add copyfields declarations for subject_label, subject_closure_label, object_label, object_closure_label

for field in subject_label subject_closure_label subject_taxon subject_taxon_label predicate object_label object_closure_label object_taxon object_taxon_label primary_knowledge_source qualifier_label onset_qualifier_label frequency_qualifier_label sex_qualifier_label
for field in subject_label subject_closure_label subject_taxon subject_taxon_label predicate object_label object_closure_label object_taxon object_taxon_label primary_knowledge_source qualifiers_label onset_qualifier_label frequency_qualifier_label sex_qualifier_label
do
curl -X POST -H 'Content-type:application/json' --data-binary "{
\"add-copy-field\": {
Expand Down

0 comments on commit 04e2fd3

Please sign in to comment.