Skip to content

Commit

Permalink
fixed fstring
Browse files Browse the repository at this point in the history
  • Loading branch information
StijnKas committed Jan 8, 2025
1 parent 8cf6452 commit 83ec54f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/pdstools/utils/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def cdh_sample(query: Optional[QUERY] = None) -> ADMDatamart:
)
except Exception as e:
raise RuntimeError(
f"Error importing CDH Sample. Warnings: {[str(i) for i in w] if len(w)>0 else "None"}, exceptions: {e}"
f"Error importing CDH Sample. Warnings: {[str(i) for i in w] if len(w)>0 else 'None'}, exceptions: {e}"
)


Expand All @@ -45,7 +45,7 @@ def sample_trees():
)
except Exception as e:
raise RuntimeError(
f"Error importing the Sample Trees dataset. Warnings: {[str(i) for i in w] if len(w)>0 else "None"}, exceptions: {e}"
f"Error importing the Sample Trees dataset. Warnings: {[str(i) for i in w] if len(w)>0 else 'None'}, exceptions: {e}"
)


Expand Down Expand Up @@ -74,5 +74,5 @@ def sample_value_finder(threshold: Optional[float] = None) -> ValueFinder:
)
except Exception as e:
raise RuntimeError(
f"Error importing the Value Finder dataset. Warnings: {[str(i) for i in w] if len(w)>0 else "None"}, exceptions: {e}"
f"Error importing the Value Finder dataset. Warnings: {[str(i) for i in w] if len(w)>0 else 'None'}, exceptions: {e}"
)

0 comments on commit 83ec54f

Please sign in to comment.