Skip to content

Commit

Permalink
MNT: argument 'name' is no long mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Dec 18, 2023
1 parent 66720b0 commit fd47c95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rocketpy/simulation/flight_data_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class FlightDataImporter:

def __init__(
self,
name,
paths,
name = "Flight Data",
columns_map=None,
units=None,
interpolation="linear",
Expand All @@ -65,12 +65,12 @@ def __init__(
Parameters
----------
name : str
The name of the FlightDataImporter object.
paths : str, list
A string with a path to a folder or file, or a list of strings
representing the file paths or directories containing the flight
data files. Only .csv and .txt files are supported.
name : str, optional
The name of the FlightDataImporter object.
columns_map : dict, optional
A dictionary mapping column names to desired column names.
Defaults to None, which will keep the original column names. The
Expand Down

0 comments on commit fd47c95

Please sign in to comment.