Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nguu0123 committed Aug 22, 2024
1 parent 610d395 commit 5d77452
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Rye fmt
run: rye fmt --check
- name: Rye lint
run: rye lint
run: rye lint src
- name: Rye lint
run: rye sync

Expand Down
4 changes: 2 additions & 2 deletions src/qoa4ml/utils/qoa_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,11 +406,11 @@ def get_parent_dir(file, parent_level=1, to_string=True):


def is_numpyarray(obj):
return type(obj) == np.ndarray
return isinstance(obj, np.ndarray)


def is_pddataframe(obj):
return type(obj) == pd.DataFrame
return isinstance(obj, pd.DataFrame)


def get_process_allowed_cpus():
Expand Down

0 comments on commit 5d77452

Please sign in to comment.