Skip to content

Commit

Permalink
move sample entry point to app
Browse files Browse the repository at this point in the history
  • Loading branch information
qew21 committed Dec 26, 2024
1 parent d3e3f60 commit fa21c04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
11 changes: 7 additions & 4 deletions rdagent/app/data_science/debug.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
"""
entry of debuggging function
- e.g. creating debug datasets
"""
import fire

from rdagent.scenarios.data_science.debug.data import create_debug_data


if __name__ == "__main__":
fire.Fire(create_debug_data)
3 changes: 0 additions & 3 deletions rdagent/scenarios/data_science/debug/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from pathlib import Path
import platform
import pandas as pd
import fire
import shutil

from rdagent.app.kaggle.conf import KAGGLE_IMPLEMENT_SETTING
Expand Down Expand Up @@ -166,5 +165,3 @@ def create_debug_data(
print(f"Error processing {file_path}: {e}")
continue

if __name__ == "__main__":
fire.Fire(create_debug_data)

0 comments on commit fa21c04

Please sign in to comment.