diff --git a/cij/cli/cij.py b/cij/cli/cij.py index a5ccf8c..8da208c 100644 --- a/cij/cli/cij.py +++ b/cij/cli/cij.py @@ -29,6 +29,7 @@ def main(): from cij.cli.plot import main as _plot main.add_command(_plot, "plot") +main.context_settings["max_content_width"] = 9999 if __name__ == "__main__": main() \ No newline at end of file diff --git a/cij/cli/extract.py b/cij/cli/extract.py index 5e4959d..cf6d36c 100644 --- a/cij/cli/extract.py +++ b/cij/cli/extract.py @@ -12,7 +12,7 @@ def load_data(var): df.index = [float(idx) for idx in df.index] return df -@click.command("extract", help="Extract data from cij calculation results to a table at specific P or T (e.g. table with c11s, c12s, K, G vs. P at 300 K).") +@click.command("extract", help="Extract data from cij calculation results to a table at specific P or T (e.g., table with c11s, c12s, K, G vs. P at 300 K).") @click.option("-v", "--variables", required=True, help="Variables to output, (e.g., 'c11s,c12s,bm,G'), values should be seperated with comma.") @click.option("-T", "--temperature", type=click.FLOAT, help="Specify temperature to extract data at, value in unit K, result will be tabulated vs. P.") @click.option("-P", "--pressure", type=click.FLOAT, help="Specify pressure to extract data at, value in unit GPa, result will be tabulated vs. T.") diff --git a/cij/data/schema/config.schema.json b/cij/data/schema/config.schema.json index acafb61..02c453c 100644 --- a/cij/data/schema/config.schema.json +++ b/cij/data/schema/config.schema.json @@ -63,13 +63,13 @@ }, "NTV": { "type": "integer", - "title": "Number of volumes (or equivivalently, pressures) on the grid", + "title": "Number of volumes (or equivivalently, pressures) on the grid.", "minimum": 1 }, "P_MIN": { "type": "number", - "title": "Desired minimum pressure to calculate, in GPa" + "title": "Desired minimum pressure to calculate, in GPa." }, "DELTA_P": { "type": "number",