mecfs_bio.figures.figure_exporter
Classes:
-
AbstractFigureExporter– -
FigureExporter–Responsible for invoking the build system to generate Assets corresponding to figures, then copying those assets to the figure directory.
Functions:
-
get_fig_dir_meta– -
get_fig_file_path– -
get_figure_destination–Single source of truth for "where in the figure directory does the figure
-
get_md_fig_file_path–
Attributes:
ValidFigureMeta
module-attribute
ValidFigureMeta = (
GWASPlotFileMeta
| GWASPlotDirectoryMeta
| MarkdownFileMeta
| GWASLabManhattanQQPlotMeta
)
AbstractFigureExporter
FigureExporter
Bases: AbstractFigureExporter
Responsible for invoking the build system to generate Assets corresponding to figures, then copying those assets to the figure directory.
Methods:
-
export–
Attributes:
export
Source code in mecfs_bio/figures/figure_exporter.py
get_fig_dir_meta
get_fig_file_path
Source code in mecfs_bio/figures/figure_exporter.py
get_figure_destination
Single source of truth for "where in the figure directory does the figure produced by a task with this meta land?".
For file-emitting metas this is an exact file path; for GWASPlotDirectoryMeta this is the destination directory (the task's output files all live underneath it).