mitsuaki1987 / fermisurfer

Fermi surface viewer providing multiple representation schemes
https://mitsuaki1987.github.io/fermisurfer/
11 stars 3 forks source link

interpol and tetrahedron does not work in batch mode #38

Open simonnier opened 7 months ago

simonnier commented 7 months ago

Dear mitsuaki1987,

I compiled fermisurfer 2.4.0 in ubuntu 22.04. I found interpol and tetrahedron does not work in batch mode, no matter you set which value in input file.

For interpol, I found a workaround as below:

  1. in fermisurfer.cpp, change int refresh_interpol = 0; to int refresh_interpol = 1;
  2. in menu.cpp, comment out refresh_interpol = 0; in compute_patch_segment

But for tetrahedron, I do not know.

Also, running fermisurfer always shows warning and error

(fermisurfer:97017): Gtk-WARNING **: 20:26:36.764: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(fermisurfer:97017): Gtk-CRITICAL **: 20:26:36.764: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

What is wrong?

best regards