def _simplify_archive(self, path):
        if not os.path.isdir(path):
            return

        files = [f for f in os.listdir(path) if not self._ignore_file_in_archive(f)]
        if len(files) == 1:
            self._simplify_directory(path, files[0])

    # ... ignore files that match any of these exactly
Uses WriteNumPy to write an array in raw format.
dataset/ETHPy150Open codalab/codalab-cli/codalab/lib/upload_manager.py/UploadManager._simplify_archive--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/tabledata/write/write_numpy.py/WriteNumpyTestCase.test_raw_numpy