Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit gracefully when index is out of range #69

Closed
wants to merge 1 commit into from

Conversation

afonari
Copy link
Contributor

@afonari afonari commented Apr 11, 2018

Related to: #67

Example from the #67 now exits as:

~/enumlib/src/enum.x enumerate_periodic.in
---------------------------------------------------------------------------------------------
Calculating derivative structures for index n= 1 to  1
Including only structures of which the concentration of each atom is in the range:
Type: 1: 4/76--4/76
Type: 2: 16/76--16/76
Type: 3: 25/76--25/76
Type: 4: 3/76--3/76
Type: 5: 20/76--20/76
Type: 6: 8/76--8/76
Volume       CPU        #HNFs  #SNFs    #reduced    % dups      volTot      RunTot
Original d-set member was not inside the unit cell. It has been remapped.
Original:  9.396   5.593   6.760
Remapped: -0.034   5.593   6.760
Original d-set member was not inside the unit cell. It has been remapped.
Original:  9.396   8.319   6.760
Remapped: -0.034   8.319   6.760
Index is too large (integer cannot fit it)

@glwhart glwhart closed this Jun 13, 2018
@glwhart
Copy link
Contributor

glwhart commented Jun 13, 2018

I made the changes myself and then pushed them. See #67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants