124 Commits
Author SHA1 Message Date
Fredrik Hedman ea41119626 Refactor specific_data.py (#64)
* Fix unit of molar heat

* Adjust command line parser and help messages

The adjustmenst reflect how the code as is actually works and the extended
help message give actual examples of how to use the command.

* Clarify help message

* Make command executable

* Add option to quit adding properties

* Refactor output to use functionality from argparse

Default behavior is now more robust for output. Changed write functions
to use less of global state.

* Parameterize help message fors default output file name

* Improve prompt to quit interactive loop

* Add example with properties and interactive

* Remove debug cruft

* Refactor write functions to not use global variables

* Skip already selected in interactive phase given by properites

* Improve help message

* Refactor logic for output in the default case

USe the functionality provided by argparse for default values of an
optional command line argument.  In this case --output.

* Restructure code by moving already defined functions up

* Refactor structure of code to use functions

This is s step towards further simplification of each step.

* Refactor use of keys and clear screen for interactive use only

* Add the main guard

* Use argparse hook to parse comma separated properties

This provides a list of arguments directly.  Find the set intersection
and difference to filter out correctly named properties.

Structure the code so as to keep the terminal output separate.

* Refactor interactive paring to us local functions

* Use result provided by default_input

* Use pylint to clean up

* Improve docstrings

* Format help message

* Refactor name and replace with namedtuple
2024-03-06 19:11:16 -05:00
Fredrik Hedman 640bd393b4 Fix unit of molar heat (#63) 2024-03-02 18:06:11 -05:00
Viktor Szépe e98f0986ec Fix typos (#61) 2023-12-23 23:06:34 -05:00
Janik-ux 597c744f35 added missing whitespace in Ts summary (#59) 2023-03-22 17:11:31 -04:00
AmirAli f5b9327e56 fix: Lutetium and Lawrencium block (#57) 2023-01-21 18:59:32 -05:00
AmirAli 0108a31e9a extra data (#55)
* added: group, wxpos (wide x position), wypos(wide y position), block

* update: README.md
2022-12-22 16:29:27 -05:00
Mahran Sayed 3172513102 Adding an image object to each element including: (#54)
* title
* url
* license
- All images are licensed under Creative Commons (CC) or public domain
2022-09-26 19:56:47 -04:00
Janosh Riebesell 2b3db01fbd Copernicium phase (#53)
* Copernicium is predicted to be liquid not gas with density 14.0 g/cm3

* python scripts/json_to_csv.py

* node scripts/transform-lookup.js
2022-08-25 23:01:03 -04:00
OneByte 9dbd4cb7e2 A script which gets specific properties for you (#49)
* Added a way to get specific properties into a JSON file

* refactoring to support all OS + added for CSV

* Fixed crashes, tailing commas, added cmd line args
2022-07-22 17:49:04 -04:00
Rahul Shahare 8919dc57a2 Images & 3d images of Atoms of elements (#50)
* Bohr electron model image and 3d models of element for further enhancement of data

* deletion corrected

* 2 New & Usefull fields added to format

* #md format

* description for two new keys

* Bohr electron model image and 3d models of element for further enhancement of data

* working

* #Added image & 3d model for 118 elements
2022-07-22 17:47:25 -04:00
Héliton Martins e5fec75643 Update Kelvin nomenclature on README.md (#48)
The Kelvin scale isn't named with "degree" like in "degrees Celsius" (ᵒC) or "degrees Fahrenheit" (ᵒF). The internationally accepted naming is just "Kelvin" (K) (see [here](https://www.newworldencyclopedia.org/entry/kelvin) and [here](https://www.physlink.com/education/askexperts/ae369.cfm)).
2022-02-21 17:11:00 -05:00
Bowserinator b1fece0a0e Remove color field 2021-10-15 20:21:23 -04:00
Caleb Stanford bbe75c8f75 Add CSV data and a schema for validating the JSON (#43)
* JSON data validation

* convert JSON to CSV

* fix CSV (remove indexing)

* update README
2021-10-15 20:00:52 -04:00
Bowserinator c3fef87028 Merge pull request #37 from JayHales/master
Added JMol color codes.
2020-09-25 14:40:02 -04:00
Jay Hales c3c958c992 Update README.md 2020-09-25 18:35:48 +01:00
Jay Hales c60d7736c8 Made new key have null value for elements over 109 2020-09-25 18:33:56 +01:00
Jay Hales 0aa18535d2 Tabbing to fit with formatting 2020-09-21 19:33:06 +01:00
Jay Hales d2ea38cd52 Fixed unicode error 2020-09-21 19:32:20 +01:00
Jay Hales 434768e508 Revert formatting changes 2020-09-21 19:27:05 +01:00
Jay Hales d1a948d0d1 Fixed formatting 2020-09-21 19:24:06 +01:00
Jay Hales 0a6a6bc7c3 Added JMol hex color codes 2020-09-21 19:14:25 +01:00
Bowserinator 4d30914c38 Merge pull request #34 from adyngom/entities-lookup
Proposed secondary format using entities model
2020-07-26 16:33:24 -04:00
Bowserinator 4d1f236bb1 Move scripts to separate folder 2020-07-26 16:33:09 -04:00
Bowserinator cde43d29c4 Add semantic & updated electron configurations 2020-07-26 16:31:58 -04:00
Bowserinator be4223371e Consistent indenting for the README example 2020-06-20 17:38:46 -04:00
Bowserinator a3d02c39f6 Merge pull request #36 from lorenzolewis/master
Update electron configuration
2020-06-20 17:33:12 -04:00
Bowserinator cd7c7505a4 Merge branch 'master' into master 2020-06-20 17:32:50 -04:00
Bowserinator 3ce962b9b3 Small formatting and typo fix 2020-06-20 17:30:32 -04:00
Lorenzo Lewis 917691076a Re-order keys to be in same order, add electron_coiguration_semantic to the readme 2020-06-20 15:04:00 -05:00
Lorenzo Lewis ec41727927 Edit electron configuration
Edit electron_configuration to follow the scientific order, add semantic_electron_configuration for a concise configuration
2020-06-17 22:21:00 -05:00
Bowserinator 3f2601037a Consistent indent and formatting 2020-06-14 23:39:15 -04:00
Lorenzo Lewis 4918a63eda Add electron_configuration_semantic 2020-06-13 14:49:38 -05:00
Lorenzo Lewis 14c659abf1 Update electron configuration
Updated with proper configuration order, shells are not always in exact descending order
2020-06-13 14:09:04 -05:00
Bowserinator 1caafea3f1 Merge pull request #35 from Pohli/patch-1
Update README.md
2020-06-05 23:25:53 -04:00
Jolla1 SFOS 3.0.1.11 21bd3704d1 Update README.md
Add more precise description of density units as already asked for in issue #33.
2020-05-31 21:11:20 +02:00
adyngom e3c4a6a310 Using the Entities model from the ngrx store structure, the proposed secondary structure in periodic-table-lookup.json offers a few advantages when trying to work and output data from the periodic table.
For instance, the order key preserve the chronological order of each of the element while looking up each element individually becomes drastically faster since each can be found by their name that became a unique identifier.
2019-11-13 13:53:14 -05:00
Bowserinator 1871a04b65 Merge pull request #32 from zachintosh/patch-1
Fix typo "repersented"
2019-07-24 17:59:43 -04:00
Zachary Williams 425720fba4 Fix typo "repersented"
Corrects an easy-to-miss typo. 👍
2019-07-14 10:43:15 -06:00
Bowserinator cffd742e28 Merge pull request #31 from jkwchui/master
Added electronic properties for all elements
2019-03-17 16:22:28 -04:00
Jon Chui 078e7695d9 Added electronic properties for all elements
Signed-off-by: Jon Chui <jon@lpcuwc.edu.hk>
2019-02-18 20:51:23 +08:00
Bowserinator 86573eae25 Merge pull request #29 from janjarfalk/patch-1
Density of Bromine 23.1028 --> 3.1028
2018-12-21 17:49:34 -05:00
Bowserinator 98f95aab99 Merge pull request #30 from janjarfalk/patch-2
Density of Astatine 26.35 --> 6.35
2018-12-21 17:49:25 -05:00
Jan Järfalk bc8402c306 Density of Astatine 26.35 --> 6.35
The density of Astatine is 6.35 not 26.35.
Source: https://en.wikipedia.org/wiki/Astatine
2018-12-19 19:17:07 +01:00
Jan Järfalk bcf132e712 Density of Bromine 23.1028 --> 3.1028
The density of Bromine is 3.1028 not 23.1028.
Source https://en.wikipedia.org/wiki/Bromine
2018-12-19 19:14:33 +01:00
Bowserinator bca72f6de0 Merge pull request #27 from DonutDeflector/master
Corrected spelling of "oganesson" in summary
2018-04-16 15:13:48 -04:00
Phillip T 8cabf276f9 Corrected spelling of "oganesson" in summary 2018-04-15 16:58:00 -04:00
Bowserinator 8280e043fb Merge pull request #26 from madsfaerch/master
Remove uncertainty from Np and Ac
2018-04-02 15:56:38 -04:00
Mads Bruun Færch-Jensen e3a51884ae Add density to Phosporus 2018-04-02 21:55:40 +02:00
Mads Bruun Færch-Jensen 89f4a81730 Remove uncertainty from Neptunium melt 2018-04-02 21:47:07 +02:00
Mads Bruun Færch-Jensen d03b42e163 Remove uncertainty from Actinium's boil 2018-04-02 21:36:23 +02:00