Skip to content

Commit

Permalink
add citation.cff support
Browse files Browse the repository at this point in the history
  • Loading branch information
jsheunis committed Oct 14, 2022
1 parent 927a56b commit 6777ba1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion datalad_gooey/custom_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ def __init__(self, parent):
{
"name": "Basic (online/remote)",
"qurl": QUrl("https://datalad.github.io/datalad-catalog/metadata-entry.html")
},
{
"name": "Citation.CFF",
"qurl": QUrl("https://citation-file-format.github.io/cff-initializer-javascript/#/start")
}
]
for form in form_data:
Expand Down Expand Up @@ -92,7 +96,7 @@ def _load_form(self, index):
@Slot()
def _download_requested(self, download):
path_str, _ = QFileDialog.getSaveFileName(
self, "Save File", str(self.__path / "dataset_metadata.json")
self, "Save File", str(self.__path / "dataset_metadata")
)
if path_str:
path = Path(path_str)
Expand Down

0 comments on commit 6777ba1

Please sign in to comment.