mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Trigger reload for each modified data table
In unindeted one level too much in the previous commit, which would only reload the last table (thanks @dannon). The alternative would be to reload all tables, but I think this is more efficient.
This commit is contained in:
@@ -317,10 +317,10 @@ class DataManager(object):
|
||||
self.process_move(data_table_name, name, output_ref_values[name].extra_files_path, **data_table_value)
|
||||
data_table_value[name] = self.process_value_translation(data_table_name, name, **data_table_value)
|
||||
data_table.add_entry(data_table_value, persist=True, entry_source=self)
|
||||
send_control_task(self.data_managers.app,
|
||||
'reload_tool_data_tables',
|
||||
noop_self=True,
|
||||
kwargs={'table_name': data_table_name})
|
||||
send_control_task(self.data_managers.app,
|
||||
'reload_tool_data_tables',
|
||||
noop_self=True,
|
||||
kwargs={'table_name': data_table_name})
|
||||
if self.undeclared_tables and data_tables_dict:
|
||||
# We handle the data move, by just moving all the data out of the extra files path
|
||||
# moving a directory and the target already exists, we move the contents instead
|
||||
|
||||
Reference in New Issue
Block a user