Comments (2)
If I recall correctly, the indentation got a bit messed up the first time we applied the automatic dictionary linter to the dictionaries. I think it should be safe to reformat them, but @jamesrhester is more qualified to answer this since he has a working dREL parser.
As for the preferred code formatting style, I do not think that there currently is one. I guess we could start a discussion on this in the https://github.com/COMCIFS/comcifs.github.io repository, if that seems needed.
from cif_core.
Nope, the formatting is largely irrelevant, except for whitespace delimiting the tokens. Newline is not significant except as whitespace. You are welcome to have a discussion as @vaitkus suggested as to the best formatting rules, but that would also mean we would then have to actually format these bits correctly and to check them, so I've not been in a hurry to do that.
from cif_core.
Related Issues (20)
- CIF2.0 line termination? HOT 1
- Proposal: split out multi-block-related data items to separate dictionary HOT 8
- Evaluation method of `_atom_site.type_symbol` HOT 3
- CIF2 grammar and `triple-quoted-string` and `quoted-string` HOT 2
- Should the `_audit_update_record` be redefined as a separated category? HOT 1
- Relationship between the `coreCIF` and `symCIF` HOT 2
- Id-like dataname questions? HOT 1
- Inconsistency in `DIFFRN_RADIATION`: `_definition.class` vs `_definition.text`. HOT 1
- [New data item]: Method for indicating the data source for a structure - experimental vs calculated HOT 3
- Description of EXPTL category HOT 1
- Should data names deprecated in DDL1 be deprecated in DDLm? HOT 1
- Clarify the semantics of the `_alias.dictionary_uri` attribute HOT 5
- Add `_alias.dictionary_uri` to aliases where possible HOT 1
- Add list-valued variants of the symmform data names
- Harmonisation of dictionary naming convention HOT 11
- Enumeration range for cell lengths HOT 2
- Data item `_publ_contact_author` should not be an alias of `_publ_contact_author_name` HOT 2
- Need for _refln.id items? HOT 2
- Should density items have the lower enumeration range of 0.0 instead of 0.1?
- Compatibility between DDL2 and DDLm enumeration ranges
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cif_core.