You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/galaxy/tool_util/data/__init__.py
+27-18Lines changed: 27 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -211,7 +211,7 @@ def _add_entry(
211
211
persist: bool=False,
212
212
entry_source: EntrySource=None,
213
213
tool_data_file_path: Optional[str] =None,
214
-
use_first_file_path: bool=False,
214
+
bundle_mode: bool=False,
215
215
**kwd,
216
216
) ->None:
217
217
raiseNotImplementedError("Abstract method")
@@ -223,7 +223,7 @@ def add_entry(
223
223
persist: bool=False,
224
224
entry_source: EntrySource=None,
225
225
tool_data_file_path: Optional[str] =None,
226
-
use_first_file_path: bool=False,
226
+
bundle_mode: bool=False,
227
227
**kwd,
228
228
) ->int:
229
229
self._add_entry(
@@ -232,7 +232,7 @@ def add_entry(
232
232
persist=persist,
233
233
entry_source=entry_source,
234
234
tool_data_file_path=tool_data_file_path,
235
-
use_first_file_path=use_first_file_path,
235
+
bundle_mode=bundle_mode,
236
236
**kwd,
237
237
)
238
238
returnself._update_version()
@@ -670,7 +670,7 @@ def _add_entry(
670
670
persist: bool=False,
671
671
entry_source: EntrySource=None,
672
672
tool_data_file_path: Optional[str] =None,
673
-
use_first_file_path: bool=False,
673
+
bundle_mode: bool=False,
674
674
**kwd,
675
675
) ->None:
676
676
# accepts dict or list of columns
@@ -703,19 +703,9 @@ def _add_entry(
703
703
raiseMessageException(
704
704
f"Attempted to add fields ({fields}) to data table '{self.name}', but there were not enough fields specified ( {len(fields)} < {self.largest_index+1} )."
0 commit comments