Re: [Soaplab-users] How to add limits in ACD ?
Brought to you by:
marsenger
From: Martin S. <mar...@gm...> - 2008-09-12 10:14:57
|
Hi, I would like to add some limits to user inputs. A lot depends of what is the meant by the user inputs. For the examples you mentioned: > Max number of sequences Max sequence length > If these maximums are values of the command-line options, Soaplab should be able to define it in the ACD files. But I am not sure now if this kind of validation was already implemented. But it is likely that you think rather about limits of the contents of an input file. One can limit it by writing her/his own data input adapter. But even with an adapter, the original input is transmitted anyway to the Soaplab service - whcih may be what you want to avoid. In such case, Soaplab cannot help - it must be validated on the client size. > Max upload size The only file uploading in Soaplab2 is in the Spinet web interface. At the moment, it does not provide a property that can limit the size of the uploaded size, but it would be very easy to add it there. It is a good idea, and I will do it (but not in the next two weeks - I will be on a conference and on a vacation in the remote parts of Asia). Cheers, Martin -- Martin Senger email: mar...@gm...,m.s...@cg... skype: martinsenger |