Code Monkey home page Code Monkey logo

sequenceparser's People

Contributors

aoblet avatar cchampet avatar est77 avatar fabiencastan avatar marcantoine-arnaud avatar mguiral avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sequenceparser's Issues

Update INSTALL file: build system has changed

The file describes a build system using Boost.Build, whereas the real build system uses sconsProject.
Maybe we can change to CMake ?
Or keep things like that, update INSTALL file, and create a submodule for sconsProject ?

Add cpp and java examples

in the examples folder:

CMakeLists.txt

java/lsFile.java
java/lsFolder.java
java/lsSequence.java

cpp/lsFile.cpp
cpp/lsFolder.cpp
cpp/lsSequence.cpp

python/lsFile.py
python/lsFolder.py
python/lsSequence.py

Support * pattern in directory path

It's currently supported in the file/sequence name, but not in the directory.

/path/to/*/all/directories
/path/to/*/all/directories/seq.####.jpg

adding BrowseItem properties

It cool be better if this library can give detailed information about file:

  • creation date
  • last modification date
  • UID
  • GID
  • Size (or estimated file size for sequences)

Merge inputs when browse

The case:

sam ls *.jpg

Returns:

foo_####.jpg 
foo_####.jpg 
foo_####.jpg 
foo_####.jpg 
foo_####.jpg 
foo_####.jpg 
foo_####.jpg 
foo_####.jpg 
foo_####.jpg 

list of ranges

And a shortcut to get the list of missing frames / files directly.

Can detect one sequence with a variable padding

sequenceParser detects 2 sequences like this:

sequence.####.jpg      [100:138] 39 files
sequence.###.jpg        [50:99] 50 files

Whereas rvls detects one sequence:

sequence.50-138@@@.jpg

Can we have an EDetection method to choose 'eDetectionSequenceCanHaveVariablePadding'?

Travis: fixed test

pyTest.testBrowse.testBrowse ... python: /home/travis/build/mikrosimage/sequenceparser/src/sequenceParser/FrameRange.hpp:38: sequenceParser::Time sequenceParser::FrameRange::getNbFrames() const: Assertion `step >= 1' failed.

integer overflow

Hey.

it looks like there is a bad cast or overflow when parsing some files :
I am seeing this :

$> ./lss /path/to/testimage
Listing 1 items took 0 milliseconds
UNITFILE "/path/to/testimage/0891634363_3b0ebecbb3_o.jpg"

when parsing a file named 5186601659_3b0ebecbb3_o.jpg

$> ls /path/to/testimage
5186601659_3b0ebecbb3_o.jpg

Sequence as iterable

Could be great to add a way to iter through existing files of a sequence (in C++ and Python). Sequence object could become a standard iterable:

for i in mySeq:
print("existing file:", i)

for( Sequence::const_iterator it = mySeq.begin(), itEnd = mySeq.end(); it != itEnd; ++it )
{
std::cout << *it << std::endl;
}

Multiple syntaxes

Hi,

The previous version of the sequenceParser currently used into tuttle is able to manage muttiple syntaxes. So it could be used to convert a pattern. Is it available in the new version too?

tuttleofx/TuttleOFX#25

parsing error without strict padding

the parsing will not found no strict padding:
for example a directory with files: f8.png, f9.png, f10.png, f11.png list:

"/datas/tt/toto/ft#.fits" [8:9]
"/datas/tt/toto/ft##.fits" [10:11]

wishes:
"/datas/tt/toto/ft#.fits" [8:11]

and if just these f9.png, f10.png files are present, it detect like file, and print nothing.
wishes:
"/datas/tt/toto/ft#.fits" [9:10]

error type UNITFILE found for / parsing

Under Linux, with the comand line: lss /
give this result:
Listing 25 items took 1 millisecond
UNITFILE "opt"
UNITFILE "srv"
UNITFILE "usr"
UNITFILE "proc"
UNITFILE "lost+found"
UNITFILE "tmp"
UNITFILE "selinux"
UNITFILE "lib64"
UNITFILE "home"
UNITFILE "mnt"
UNITFILE "success"
UNITFILE "dev"
UNITFILE "root"
UNITFILE "run"
UNITFILE "sys"
UNITFILE ".config"
UNITFILE "var"
UNITFILE "windows"
UNITFILE ".readahead"
UNITFILE "boot"
UNITFILE "media"
UNITFILE "etc"
UNITFILE "bin"
UNITFILE "lib"
UNITFILE "sbin"

They are dectected as UnitFile, not Folders.

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.