Code Monkey home page Code Monkey logo

vsc-python-irodsclient's People

Contributors

maximevdb avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vsc-python-irodsclient's Issues

Put operation of an existing file overwrite existing file without a warning

When doing a put of a file that already exist in iRODS the irods.bulk.put() function overwrite the file without any warning or information.

That seems to be also the behaviour of the PRC session.data_objects.put() but it might be better to raise an error and suggest using the force option.

I do not see otherwise what is the purpose of the force option if the default is to overwrite the file

Create a move bulk operation

In the same line as the bulk operation for get and put that already exist it will be nice to also have a move bulk operation.
It should be based on the PRC functions:

session.data_objects.move
session.collections.move

but also adding wildcards and AVUs.

vsc-prc-size behaves strange

When executing a vsc-prc-size command in a directory I get an error and the size of a file that does not exist in this directory.
The directory I am using:

/kuleuven_tier1_pilot/home/vsc30706/testcol:
10G.dat
10M.dat
1G.dat
1M.dat
C- /kuleuven_tier1_pilot/home/vsc30706/testcol/500GB-in-large-files
C- /kuleuven_tier1_pilot/home/vsc30706/testcol/50GB-in-medium-files
C- /kuleuven_tier1_pilot/home/vsc30706/testcol/5GB-in-small-files
C- /kuleuven_tier1_pilot/home/vsc30706/testcol/5MB-in-tiny-files
C- /kuleuven_tier1_pilot/home/vsc30706/testcol/Climate-Huge
C- /kuleuven_tier1_pilot/home/vsc30706/testcol/Climate-Large
C- /kuleuven_tier1_pilot/home/vsc30706/testcol/Climate-Medium
C- /kuleuven_tier1_pilot/home/vsc30706/testcol/Climate-Small

Whe I execute vsc-prc-size -H -r "./*.dat"

I get as result:

93G ./100G.dat
Traceback (most recent call last):
File "/apps/leuven/common/software/vsc-python-irodsclient/development/vsc-python-irodsclient/tools/vsc-prc-size", line 52, in
for path, size in iterator:
File "/apps/leuven/common/software/vsc-python-irodsclient/development/vsc-python-irodsclient/lib/vsc_irods/manager/bulk_manager.py", line 430, in size
assert len(results) == 1
AssertionError

The verification that I am in the right directory:
ipwd
/kuleuven_tier1_pilot/home/vsc30706/testcol

The file 100G.dat does not exist in this directory (but it does exist in my home):

ils
/kuleuven_tier1_pilot/home/vsc30706:
100G.dat
100M.dat
10G.dat
10M.dat
1G.dat
1M.dat
50M.dat
CTBY_a_n.nc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.