-
Notifications
You must be signed in to change notification settings - Fork 6
Export module #37
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
base: integration
Are you sure you want to change the base?
Export module #37
Conversation
Feature/ids
file was renamed
Export/md into export module
…export-integration
Export/fix output
… select_records()
|
|
||
| # Preppy can take the full .prep path or just the module base | ||
| # We pass the .prep path for clarity | ||
| template_path = self.resolve_template_path("md", template_filename) |
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.
I'm seeing a failure generating markdown output, and it appears to be due to this line. This seems to set the path to something like templates/md/dmp_markdown_template.prep; however, the file I see in the under nistoar/midas/export has a path of templates/markdown/dmp_md_template.prep.
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.
This branch is not done yet, since I'm also working on the portal, I'm going back and forth with the two branches.
This is an issue I have identified and I'll fix it.
I will let you know when this PR would be complete
|
Here are a few things I forgot to cover in our Teams conversation...
|
Incorporate selection and formatting capabilities into the select-records endpoint
V1 of the MIDAS Export service.
This service provides endpoints to export project records or JSON payloads
into supported formats (Markdown, PDF, etc.).
Usage (example):
"output_format": "pdf",
"inputs": [ProjectRecord_object1, ProjectRecord_object2, ProjectRecord_object3, etc.],
"template_dir": "/midas/export/templates",
"template_name": "dmp_pdf_template.prep",
"output_dir": "/midas/export/out"
}