GithubHelp home page GithubHelp logo

aapaecklar / definitions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nexusformat/definitions

0.0 0.0 0.0 80.66 MB

Definitions of the NeXus Standard File Structure and Contents

Home Page: https://manual.nexusformat.org/

License: Other

Shell 1.89% Python 70.74% C 3.95% Java 0.55% Fortran 1.41% MATLAB 2.26% XSLT 12.52% CSS 0.37% Makefile 2.51% HTML 1.66% Batchfile 2.15%

definitions's Introduction

NeXus definition developers

After making a change to the NeXus class definitions there are two important checks to be made before commiting the change:

  1. check whether the change does not violate any syntax rules
  2. verify whether the change looks as intended in the HTML documentation

First install the test and build requirements with this command (only run once)

make install

Then verify syntax and build the HTML manual with this command

make local

Open the HTML manual in a web brower for visual verification

firefox build/manual/build/html/index.html

HTML pages with contributor information

To build the html pages that contains contributor information on the sidebar set a github access token to an environment variable called GH_TOKEN.

Note: If set this will increase the build time of the documentation by approximately a factor of 4.

setenv GH_TOKEN <access token>

Working with nyaml files

There exists a simplified format of nxdl, which is called nyaml. There is a tool (nyaml2nxdl) available to convert between nxdl and nyaml. This tool is already installed when you installed the requirements for this repository and it is conveniently available from the make command.

You can build nyaml files for all nxdl files with invoking

make nyaml

which will created .yaml files in a subfolder called nyaml in the respective directory.

From this you can do your changes and create nxdl files with

make nxdl

from the yaml files.

Repository content

These are the components that define the structure of NeXus data files in the development directory.

component description
CHANGES.rst Change History
LGPL.txt one proposed license model
NXDL_VERSION the current NXDL version number
README.md this file
applications/ NXDL files for applications and instrument defs
base_classes/ NXDL files for components
contributed_definitions/ NXDL files from the community
impatient-guide/ NeXus for the Impatient
jenkins_build configuration for Jenkins continuous integration service
legacy_docs/ legacy PDF copies of the NeXus definitions documentation
manual/ Sphinx source files for the NeXus documentation
nxdl.xsd XML Schema for NXDL files
nxdlTypes.xsd called by nxdl.xsd
package/ directory for packaging this content
utils/ various tools used in the definitions tree
www/ launch (home) page of NeXus WWW site
xslt/ various XML stylesheet transformations
dev_tools/ developer tools for testing and building

definitions's People

Contributors

prjemian avatar freddieakeroyd avatar zjttoefs avatar peterc-dls avatar phyy-nx avatar woutdenolf avatar sanbrock avatar jwuttke avatar yayahjb avatar peterfpeterson avatar benajamin avatar domna avatar mkoennecke avatar russberg avatar mkuehbach avatar eugenwintersberger avatar cmmngr avatar rayosborn avatar stuartcampbell avatar sherjeelshabih avatar pkienzle avatar matthew-d-jones avatar rjgildea avatar rubelmozumder avatar aalbino2 avatar lukaspie avatar mattclarke avatar soph-dec avatar atomprobe-tc avatar tcspain avatar

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.