Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
Signed-off-by: Wenqi Li <[email protected]>
  • Loading branch information
wyli committed Aug 31, 2023
1 parent bfeb61e commit 126dd9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,13 @@ def generate_apidocs(*args):
import pandas as pd
from monai.bundle.properties import TrainProperties, InferProperties, MetaProperties

csv_file = os.path.join(os.path.dirname(__file__), "train_properties.csv") # used in mb_properties.rst
csv_file = os.path.join(os.path.dirname(__file__), "train_properties.csv") # used in mb_properties.rst
pd.DataFrame.from_dict(TrainProperties, orient="index").iloc[:, :3].to_csv(csv_file)
csv_file = os.path.join(os.path.dirname(__file__), "infer_properties.csv")
pd.DataFrame.from_dict(InferProperties, orient="index").iloc[:, :3].to_csv(csv_file)
csv_file = os.path.join(os.path.dirname(__file__), "meta_properties.csv")
pd.DataFrame.from_dict(MetaProperties, orient="index").iloc[:, :3].to_csv(csv_file)


module_path = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, "monai"))
output_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "apidocs"))
apidoc_command_path = "sphinx-apidoc"
Expand Down

0 comments on commit 126dd9e

Please sign in to comment.