Skip to content

Concurrent Runs / Run while data files are being uploaded #58

@GopiGugan

Description

@GopiGugan
  1. The autoprocess.py script sometimes runs twice resulting in duplicate *.mapped.csv and *.coverage.csv files. This occurs because another instance of autoprocess.py starts before the first instance terminates.
  2. The script starts while data files are being uploaded resulting in the following error:
ERROR: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/cutadapt-1.18-py3.6-linux-x86_64.egg/cutadapt/pipeline.py", line 399, in reader_process
    for chunk_index, (chunk1, chunk2) in enumerate(read_paired_chunks(f, f2, buffer_size)):
  File "/usr/local/lib/python3.6/dist-packages/cutadapt-1.18-py3.6-linux-x86_64.egg/cutadapt/seqio.py", line 890, in read_paired_chunks
    bufend2 = f2.readinto(memoryview(buf2)[start2:]) + start2
  File "/usr/lib/python3.6/gzip.py", line 276, in read
    return self._buffer.read(size)
  File "/usr/lib/python3.6/_compression.py", line 68, in readinto
    data = self.read(len(byte_view))
  File "/usr/lib/python3.6/gzip.py", line 482, in read
    raise EOFError("Compressed file ended before the "
EOFError: Compressed file ended before the end-of-stream marker was reached

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions