Giter Club home page Giter Club logo

faacets's People

Contributors

denisrosset avatar jdbancal avatar rossetd0 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

philophysics

faacets's Issues

'~' symbol in path to represent home folder is treated as the name of a folder

Not an issue for the first release.

Added note: starting the path with '/...' is recognized however to mean an absolute path, i.e. not relative to home directory.

chsh.save('/Desktop/Matlab pour lrs/faacets/specials/chsh.yaml');
??? Java exception occurred:
java.io.FileNotFoundException: /home/bancal/
/Desktop/Matlab pour lrs/faacets/specials/chsh.yaml (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
at de.schlichtherle.truezip.fs.file.FileOutputSocket$1OutputStream.(FileOutputSocket.java:150)
at de.schlichtherle.truezip.fs.file.FileOutputSocket.newOutputStream(FileOutputSocket.java:164)
at de.schlichtherle.truezip.file.TFileOutputStream.newOutputStream(TFileOutputStream.java:143)
at de.schlichtherle.truezip.file.TFileOutputStream.(TFileOutputStream.java:116)
at de.schlichtherle.truezip.file.TFileWriter.(TFileWriter.java:60)
at com.faacets.Yaml$.save(Yaml.scala:19)
at com.faacets.impl.ApiInequality.save(ApiInequality.scala:27)

Saving yaml files is not relative to current directory but to the root directory of the user

pwd

ans =

/home/bancal/Desktop/Matlab pour lrs/faacets

chsh.save('specials/chsh.yaml');
??? Java exception occurred:
java.io.FileNotFoundException: /home/bancal/specials/chsh.yaml (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
at de.schlichtherle.truezip.fs.file.FileOutputSocket$1OutputStream.(FileOutputSocket.java:150)
at de.schlichtherle.truezip.fs.file.FileOutputSocket.newOutputStream(FileOutputSocket.java:164)
at de.schlichtherle.truezip.file.TFileOutputStream.newOutputStream(TFileOutputStream.java:143)
at de.schlichtherle.truezip.file.TFileOutputStream.(TFileOutputStream.java:116)
at de.schlichtherle.truezip.file.TFileWriter.(TFileWriter.java:60)
at com.faacets.Yaml$.save(Yaml.scala:19)
at com.faacets.impl.ApiInequality.save(ApiInequality.scala:27)

Single sources are not accepted if not put inside a cell

Le premier appel plante, mais le deuxieme marche:

chsh.sources.put('extra.detection_loophole', '10.1103/PhysRevA.47.R747');
??? Java exception occurred:
java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String;
at com.faacets.impl.ApiInequality$$anon$6.iv(ApiInequality.scala:89)
at com.faacets.MutableMemberMap$class.$plus$eq(MutableMember.scala:74)
at com.faacets.impl.ApiInequality$$anon$6.$plus$eq(ApiInequality.scala:89)
at com.faacets.impl.ApiInequality$$anon$6.$plus$eq(ApiInequality.scala:89)
at scala.collection.mutable.MapLike$class.update(MapLike.scala:87)
at com.faacets.impl.ApiInequality$$anon$6.update(ApiInequality.scala:89)
at scala.collection.mutable.MapLike$class.put(MapLike.scala:76)
at com.faacets.impl.ApiInequality$$anon$6.put(ApiInequality.scala:89)
at scala.collection.convert.Wrappers$MutableMapWrapper.put(Wrappers.scala:217)

chsh.sources.put('extra.detection_loophole', {'10.1103/PhysRevA.47.R747'});

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.