Skip to content

Commit

Permalink
Merge pull request #393 from tmaeno/master
Browse files Browse the repository at this point in the history
To allow mixture of upstream outputs and root inputs as workflow's secondaryDSs
  • Loading branch information
tmaeno authored Aug 19, 2024
2 parents 9a456ba + f96de85 commit 370dc3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,11 @@ COPY . .

# install panda-common first to prevent panda-client from installing redundant files
RUN /opt/panda/bin/pip install --no-cache-dir panda-common
RUN /opt/panda/bin/pip install --no-cache-dir .[postgres]
RUN /opt/panda/bin/pip install --no-cache-dir .[postgres,oracle]
RUN /opt/panda/bin/pip install --no-cache-dir rucio-clients
RUN /opt/panda/bin/pip install --no-cache-dir "git+https://github.com/PanDAWMS/panda-cacheschedconfig.git"
RUN ln -s /opt/panda/lib/python*/site-packages/mod_wsgi/server/mod_wsgi*.so /etc/httpd/modules/mod_wsgi.so

# install the oracle client to be able to support Oracle
RUN /opt/panda/bin/pip install --no-cache-dir oracledb

# install Oracle Instant Client and tnsnames.ora
RUN wget https://download.oracle.com/otn_software/linux/instantclient/oracle-instantclient-basic-linuxx64.rpm -P /tmp/ && \
yum install /tmp/oracle-instantclient-basic-linuxx64.rpm -y && \
Expand Down
1 change: 1 addition & 0 deletions pandaserver/workflow/pcwl_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def resolve_nodes(node_list, root_inputs, data, serial_id, parent_ids, out_ds_na
tmp_sources = tmp_data["source"]
if "parent_id" in tmp_data:
tmp_parent_ids = tmp_data["parent_id"]
tmp_parent_ids += [None] * (len(tmp_sources) - len(tmp_parent_ids))
else:
tmp_parent_ids = [None] * len(tmp_sources)
else:
Expand Down

0 comments on commit 370dc3b

Please sign in to comment.