Inability to create a band between adjacent segments

Case number:845813-987813
Topic:Game: Tools
Opened by:smith92clone
Opened on:Saturday, June 5, 2010 - 18:35
Last modified:Thursday, June 21, 2012 - 21:28

I and other Folders have experienced the problem where band_add_segment_segment(x,x+1) fails.

One is able to create such a band between adjacent segments using the GUI, but after the call the get_band_count() returns zero showing the band was not created, but no run-time Lua error is generated.

(Sat, 06/05/2010 - 18:35  |  9 comments)

Joined: 09/18/2009
Groups: SETI.Germany

A similar thing...
Can you fix a segment to its 3D-place by band_add_segment_segment(x,x)?

Joined: 11/10/2007
Groups: Window Group

So would you like to be able to add the band or have an error generated?

Joined: 04/27/2010

I would like the Lua script function to act the same way as the GUI. I am able to create a band from n to n+1 in the GUI. I seem not to be able to do this in script.

If there is some physical reason the band cannot be created, then a error should occur, but also generate the same error in the GUI.

The inconsistency between Lua scripting and GUI is, at times, mysterious and at others, frustrating.

Joined: 09/18/2009
Groups: SETI.Germany

Second that.

Joined: 11/10/2007
Groups: Window Group
Status: Open » Open

You cannot connect the backbone of two adjacent segments in the GUI. band_add_segment_segment attaches a band between the backbones of the two given segments. Thus it would appear that the behavior is the same between the GUI and the script.

Tlaloc's picture
User offline. Last seen 16 weeks 20 hours ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'

It would be helpful if the band_add_segment_segment() function returned the band number of the band that it creates. If it fails to create a band for any reason, then return 0.

Joined: 09/18/2009
Groups: SETI.Germany

...or nil.

Joined: 11/10/2007
Groups: Window Group


jeff101's picture
User offline. Last seen 4 hours 40 min ago. Offline
Joined: 04/20/2012
Groups: Go Science

This bug was discussed in several recent Feedbacks like the following:

There was also a recent compilation of Feedbacks about bands:


Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons