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
The original code, see below, assumes that qc.working_dir and qc.base_data_dir have the same "root", so when they don't it creates a "weird" base. This happened in qiita-rc: ('/a/b/working_directory/', '/c/d/'), repestibly.
# When creating a type is expected that a new mountpoint is created# for that type, note that we are going to check if there is an# extra path for the mountpoint, which is useful for the test# environmentqc=qiita_configmp=relpath(qc.working_dir, qc.base_data_dir).replace(
'working_dir', '')
mp=mp+nameifmp!='/'andmp!=''elsenamesql="""INSERT INTO qiita.data_directory (data_type, mountpoint, subdirectory, active) VALUES (%s, %s, %s, %s)"""qdb.sql_connection.TRN.add(sql, [name, mp, True, True])
The text was updated successfully, but these errors were encountered:
The original code, see below, assumes that
qc.working_dir
andqc.base_data_dir
have the same "root", so when they don't it creates a "weird" base. This happened in qiita-rc: ('/a/b/working_directory/', '/c/d/'), repestibly.The text was updated successfully, but these errors were encountered: