Skip to content

Commit 201b9ef

Browse files
committed
Merged conflicts
2 parents 602c68b + 1252182 commit 201b9ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/push_to_figshare.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def write_figshare_details_to_yaml(article_id, project_id, title, version):
199199
data = yaml.safe_load(f)
200200
data["figshare"] = f"https://api.figshare.com/v2/articles/{article_id}"
201201
data["version"] = version
202-
with open("/tmp/dataset.yml", "w") as f:
202+
with open('/tmp/dataset.yml', 'w') as f:
203203
yaml.safe_dump(data, f, sort_keys=False)
204204

205205

@@ -272,4 +272,4 @@ def main():
272272
upload_to_figshare(args.token, args.title, args.directory, args.project_id, args.publish, args.version, args.article_id)
273273

274274
if __name__ == "__main__":
275-
main()
275+
main()

0 commit comments

Comments
 (0)