Giter VIP home page Giter VIP logo

saxsview's People

Contributors

chatcannon avatar chrisemblhh avatar dfranke76 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

chrisemblhh

saxsview's Issues

saxsdocument cannot be imported in python

I installed a new version of ATSAS 3.0.1 for win 10 (64x) and saxsdocument cannot be imported in python. Even when I am inside the directory "c/Program Files (x86)/ATSAS 3.0.1/bin/python3.7/site-packages" and there is the saxsdocument.pyd file, it is not visible from python. I am using python 3 64.

Read metadata from atsas-fit-4-column

Programs like BUNCH, CORAL, SASREF write the chi^2 value and the subtracted constant (if applicable) to the .fit file. However, these metadata are not read as saxs_properties by libsaxsdocument.

If sample-code is empty other properties are not read

libsaxsdocument doesn't read the properties from a .dat file correctly if "Code" is missing or empty. E.g. from Buffer_0001_00004.dat.txt I get "sample-concentration" and "sample-description" but no properties from the footer. If I add a Code - I get all the properties. This becomes quite a problem for SASFLOW (e.g. at SSRF in Shanghai).

This may happen in libsaxsdocument/src/atsas_dat.c in autosub_dat_parse_footer(), line 751:

  int nscan = sscanf(currline->line_buffer, "Sample: %30s c= %20s mg/ml
Code: %20s", sample_code, conc, code);
  if (nscan != 3) {
    return errno?errno:ENOTSUP;
  }

Building libsaxsdocument with XML fails on Windows

(Proximate cause: upgraded CMake has better search heuristics, so it finds the libxml2 library and tries to build with canSAS-XML enabled, whereas previously libxml2 was not found and canSAS was disabled.)

Trying to build saxsview gives linker errors saying something like: undefined reference to '__imp_recv'

Allow building pysaxsdocument with pip/setup.py

e.g. when libsaxsdocument.so is already installed in the system, the python saxsdocument module may be available in the system site-packages but will not be in any virtualenv. Having a separate setup.py will allow installing pysaxsdocument in a virtualenv.

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.