Skip to content

Commit

Permalink
rename src to imdataset_creator
Browse files Browse the repository at this point in the history
  • Loading branch information
zeptofine committed Oct 7, 2023
1 parent 882aa00 commit 5857c43
Show file tree
Hide file tree
Showing 26 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion create_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from typer import Option
from typing_extensions import Annotated

from src import (
from imdataset_creator import (
MainConfig,
File,
Input,
Expand Down
2 changes: 1 addition & 1 deletion gui.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from src.gui.main import main
from imdataset_creator.gui.main import main

if __name__ == "__main__":
main()
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from enum import Enum, EnumType
from typing import Self

from src.configs.configtypes import ItemData, SpecialItemData
from .configtypes import ItemData, SpecialItemData


class Keyworded:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@

from polars import DataFrame, DataType, Expr, PolarsDataType

from src.configs.configtypes import InputData, OutputData
from src.file_list import get_file_list

from ..configs.configtypes import InputData, OutputData
from ..file_list import get_file_list
from ..configs import FilterData, Keyworded
from ..file import File

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/scenarios.py → imdataset_creator/scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import cv2
import numpy as np

from src.configs import FilterData
from src.datarules.base_rules import File, Filter
from .configs import FilterData
from .datarules.base_rules import File, Filter

# IDK Wtf to call these things other than scenarios

Expand Down
4 changes: 2 additions & 2 deletions manage_dataframe.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"\n",
"import polars as pl\n",
"\n",
"from src.datarules.dataset_builder import DatasetBuilder\n",
"from src.datarules.base_rules import Rule"
"from imdataset_creator.datarules.dataset_builder import DatasetBuilder\n",
"from imdataset_creator.datarules.base_rules import Rule"
]
},
{
Expand Down

0 comments on commit 5857c43

Please sign in to comment.