Skip to content

Commit

Permalink
fix: AnalysisPlan means AnalysisPlan, not StudyDesign
Browse files Browse the repository at this point in the history
  • Loading branch information
aaxelb committed Aug 7, 2023
1 parent 519798d commit ed6aa99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osf/metadata/osf_gathering.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ def gather_preprint_prereg(focus):
try:
prereg_relations = {
'prereg_designs': [OSF.hasPreregisteredStudyDesign],
'prereg_analysis': [OSF.hasPreregisteredStudyDesign],
'prereg_analysis': [OSF.hasPreregisteredAnalysisPlan],
'prereg_both': [OSF.hasPreregisteredStudyDesign, OSF.hasPreregisteredAnalysisPlan],
}[preprint.prereg_link_info]
except KeyError:
Expand Down

0 comments on commit ed6aa99

Please sign in to comment.