Loading data_repo_renderer/__init__.py +39 −39 Original line number Diff line number Diff line Loading @@ -404,7 +404,7 @@ class ReadmeRenderer(Renderer): super(ReadmeRenderer, self).__init__(yaml_dict=yaml_dict, *args, **kwargs) @static @staticmethod def _maybe_include_credentials(yaml_dict): if "credential_files" not in yaml_dict: yaml_dict["maybe_credentials"] = "" Loading @@ -417,7 +417,7 @@ class ReadmeRenderer(Renderer): yaml_dict["maybe_credentials"] = textwrap.dedent(cred_string) return yaml_dict @static @staticmethod def _maybe_include_acknowledgements(yaml_dict): if "acknowledgements" not in yaml_dict: yaml_dict["acknowledgements_parsed"] = "" Loading @@ -435,7 +435,7 @@ class ReadmeRenderer(Renderer): ack_string) return yaml_dict @static @staticmethod def _maybe_include_citations(yaml_dict): if ("citations" not in yaml_dict or len(yaml_dict["citations"]) == 0): Loading Loading
data_repo_renderer/__init__.py +39 −39 Original line number Diff line number Diff line Loading @@ -404,7 +404,7 @@ class ReadmeRenderer(Renderer): super(ReadmeRenderer, self).__init__(yaml_dict=yaml_dict, *args, **kwargs) @static @staticmethod def _maybe_include_credentials(yaml_dict): if "credential_files" not in yaml_dict: yaml_dict["maybe_credentials"] = "" Loading @@ -417,7 +417,7 @@ class ReadmeRenderer(Renderer): yaml_dict["maybe_credentials"] = textwrap.dedent(cred_string) return yaml_dict @static @staticmethod def _maybe_include_acknowledgements(yaml_dict): if "acknowledgements" not in yaml_dict: yaml_dict["acknowledgements_parsed"] = "" Loading @@ -435,7 +435,7 @@ class ReadmeRenderer(Renderer): ack_string) return yaml_dict @static @staticmethod def _maybe_include_citations(yaml_dict): if ("citations" not in yaml_dict or len(yaml_dict["citations"]) == 0): Loading